package cn.iocoder.yudao.module.service.controller.admin.customer.vo;

import lombok.*;

import java.util.*;

import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户列表分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ServiceCustomerPageReqVO extends PageParam {

    @Schema(description = "客户名称", example = "李四")
    private String name;


    @Schema(description = "客户手机号")
    private String mobile;

    @Schema(description = "客户备注")
    private String remark;

    @Schema(description = "客户需求")
    private String demand;

    @Schema(description = "客户地址")
    private String address;


    @Schema(description = "终端类型：1-pc 2-h5 3-app", example = "2")
    private Integer level;

    @Schema(description = "终端类型：1-pc 2-h5 3-app", example = "2")
    private Integer clientType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private Long loginUserId;

    @Schema(description = "在线状态：1-在线 0-离线", example = "1")
    private Integer status;

    @Schema(description = "是否有表单")
    private Integer hasForm;
}